// 导航到指定页面
const navigateTo = (path) => {
  if (path.includes('/profile/') && !isLoggedIn.value) {
    showToast('请先登录')
    showLoginPopup.value = true
    return
  }
  router.push(path)
} 